package com.bangdao.app.jetpacktest.jetpack.databinding.viewmodel;

import androidx.lifecycle.ViewModel;

import com.bangdao.app.jetpacktest.jetpack.databinding.bean.LoginModel3;

/**
 * @ProjectName: JetpackTest
 * @ClassName: TwoWayBindingViewModel
 * @Description: java类作用描述
 * @Author: luhui
 * @Email: hui.lu@bangdao-tech.com
 * @CreateDate: 2022/6/4 23:05
 * @UpdateUser: luhui
 * @UpdateDate: 2022/6/4 23:05
 * @UpdateRemark: 更新说明
 * @Version: 1.0
 */
public class TwoWayBindingViewModel3 extends ViewModel {
    private LoginModel3 loginModel3;

    public TwoWayBindingViewModel3() {
        loginModel3 = new LoginModel3();
        loginModel3.userName.setValue("Jack");
    }

    public LoginModel3 getLoginModel3() {
        return loginModel3;
    }
}
